package com.yk.framework.gui.ctrl;

import java.awt.Component;

import javax.swing.JOptionPane;

/**
 * @author lifetime
 *
 */
public class MsgBox {
	public static final int OK_Option = JOptionPane.OK_OPTION;
	
	public static void showInfo(Component owner,String msg){
		JOptionPane.showMessageDialog(owner, msg);
	}
	
	public static int showConfirm(Component owner,String msg){
		
		return JOptionPane.showConfirmDialog(owner, msg);
	}
}
